/* $RCSFile: RuleParameter.cs $
 * Apache license v2 2011 by Christian Surieux
 * $Source: ?/ADNCRM.RulesEngine/RuleParameter.cs $
 * $log$
 * Revision 6 2010/08/06 19:56:30  christian.surieux
 *   Added Log to All cs files
 */

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace Rewrite.NET
{
    /// <summary>
    /// Summary description for IndexRule
    /// </summary>
    public class RuleParameter : ConfigurationElement
    {
        [ConfigurationProperty("searchExpression", IsRequired = true)]
        public string SearchExpression
        {
            get
            {
                return this["searchExpression"] as string;
            }
            set
            {
                this["searchExpression"]    =   value;
            }
        }


        [ConfigurationProperty("value", IsRequired = true)]
        public string Value
        {
            get
            {
                return this["value"] as string;
            }
            set
            {
                this["value"]   =   value;
            }
        }

    }
}